package com.kitty.game.fight.message;


import com.kitty.game.fight.message.vo.SkillGroup;
import com.kitty.mina.Modules;
import com.kitty.mina.annotation.ListField;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

import java.util.List;

/**
 * 战斗自动技能信息 重连时使用?
 */
@MessageMeta(module = Modules.MSG_FIGHT_CMD_INFO)
public class RespFightCommandInfo extends Message {
    private byte count = 1;//Todo 这是一个列表
    private int id;
    private byte auto_select = 1;//法力不足时执行的操作 1法力不足自动补充 2 法力不足自动物攻
    private byte multi_index;
    private byte type;//战斗动作类型
    private int skillId;//设置的技能ID
    @ListField(value = 1)
    private List<SkillGroup> list;

    public byte getCount() {
        return count;
    }

    public void setCount(byte count) {
        this.count = count;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public byte getAuto_select() {
        return auto_select;
    }

    public void setAuto_select(byte auto_select) {
        this.auto_select = auto_select;
    }

    public byte getMulti_index() {
        return multi_index;
    }

    public void setMulti_index(byte multi_index) {
        this.multi_index = multi_index;
    }

    public byte getType() {
        return type;
    }

    public void setType(short type) {
        this.type = (byte) type;
    }

    public int getSkillId() {
        return skillId;
    }

    public void setSkillId(int skillId) {
        this.skillId = skillId;
    }

    public List<SkillGroup> getList() {
        return list;
    }

    public void setList(List<SkillGroup> list) {
        this.list = list;
    }
}
